-
Home
-
LiteSpeed Cache
-
7.6.2 (latest)
-
Code
-
Classes
- Img_Optm
| Total Complexity |
305 |
| Dependencies |
12 |
| Dependents |
7 |
| Total lines |
2,198 |
| Lines of code |
1,432 |
| Logical lines of code |
975 |
| Comment lines |
385 |
| Methods |
41 |
| Properties |
16 |
Methods 41
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| pull() |
D |
20 |
42 |
220 |
| notify_img() |
C |
31 |
23 |
106 |
| new_req() |
B |
31 |
18 |
115 |
| _send_request() |
B |
37 |
16 |
69 |
| handler() |
A |
45 |
16 |
44 |
| _append_img_queue() |
A |
42 |
15 |
50 |
| _rescan() |
A |
38 |
13 |
69 |
| _save_raw() |
A |
41 |
10 |
54 |
| _switch_optm_file() |
A |
42 |
10 |
52 |
| wp_update_attachment_metadata() |
A |
46 |
10 |
39 |
| rm_bkup() |
A |
42 |
9 |
52 |
| _destroy() |
A |
41 |
8 |
55 |
| _calc_bkup() |
A |
43 |
8 |
49 |
| _switch_bk_file() |
A |
51 |
8 |
24 |
| _destroy_optm_file() |
A |
53 |
8 |
21 |
| _batch_switch() |
S |
45 |
6 |
41 |
| _filter_invalid_src() |
S |
53 |
7 |
20 |
| _filter_legacy_src() |
S |
52 |
6 |
24 |
| batch_switch() |
S |
55 |
6 |
18 |
| _parse_wp_meta_value() |
S |
55 |
5 |
20 |
| wet_limit() |
S |
60 |
5 |
13 |
| reset_row() |
S |
51 |
4 |
25 |
| img_count() |
S |
46 |
3 |
40 |
| __construct() |
S |
55 |
4 |
19 |
| _calc_pull_threads() |
S |
57 |
4 |
16 |
| _filter_duplicated_src() |
S |
58 |
4 |
15 |
| check_img() |
S |
49 |
3 |
30 |
| _gen_thumbnail_set() |
S |
60 |
4 |
14 |
| async_handler() |
S |
62 |
4 |
12 |
| _del_bk_file() |
S |
57 |
3 |
16 |
| clean() |
S |
58 |
3 |
15 |
| _get_bk_size() |
S |
57 |
3 |
15 |
| cron_running() |
S |
65 |
4 |
8 |
| _update_cron_running() |
S |
62 |
3 |
12 |
| need_pull() |
S |
68 |
3 |
7 |
| cron_auto_request() |
S |
69 |
2 |
7 |
| _finished_running() |
S |
76 |
1 |
4 |
| start_async_cron() |
S |
80 |
1 |
3 |
| start_async() |
S |
72 |
1 |
5 |
| _step_back_image() |
S |
69 |
1 |
6 |
| _reset_counter() |
S |
66 |
1 |
8 |